package com.miracle9.game.entity;

import javax.persistence.Entity;
import javax.persistence.Transient;

@Entity
public class UserTenMinScore
  extends BaseEntity
{
  private int userId;
  private String username;
  private int yaGold = 0;
  private int deGold = 0;
  private int userGold = 0;
  private int userScore = 0;
  private int userTotalGold = 0;
  private String startTime = "";
  private String endTime = "";
  @Transient
  public int yaFen;
  @Transient
  public int deFen;
  @Transient
  public Integer deskId = null;
  
  public UserTenMinScore(int userId, Integer deskId)
  {
    this.userId = userId;
    this.deskId = deskId;
  }
  
  public UserTenMinScore() {}
  
  public int getUserGold()
  {
    return this.userGold;
  }
  
  public void setUserGold(int userGold)
  {
    this.userGold = userGold;
  }
  
  public String getUsername()
  {
    return this.username;
  }
  
  public void setUsername(String username)
  {
    this.username = username;
  }
  
  public int getUserScore()
  {
    return this.userScore;
  }
  
  public void setUserScore(int userScore)
  {
    this.userScore = userScore;
  }
  
  public int getUserTotalGold()
  {
    return this.userTotalGold;
  }
  
  public void setUserTotalGold(int userTotalGold)
  {
    this.userTotalGold = userTotalGold;
  }
  
  public int getYaGold()
  {
    return this.yaGold;
  }
  
  public void setYaGold(int yaGold)
  {
    this.yaGold = yaGold;
  }
  
  public int getDeGold()
  {
    return this.deGold;
  }
  
  public void setDeGold(int deGold)
  {
    this.deGold = deGold;
  }
  
  public String getStartTime()
  {
    return this.startTime;
  }
  
  public void setStartTime(String startTime)
  {
    this.startTime = startTime;
  }
  
  public String getEndTime()
  {
    return this.endTime;
  }
  
  public void setEndTime(String endTime)
  {
    this.endTime = endTime;
  }
  
  public int getUserId()
  {
    return this.userId;
  }
  
  public void setUserId(int userId)
  {
    this.userId = userId;
  }
}
